<html><head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8"><title>InitSprite</title></head>
<body bgcolor="#FFFFDF" link="#009999" vlink="#006666" alink="#006666">
<font face="Arial" size="2"><p align="center"><b><font size="4">InitSprite()</font></b></p>
<p><b>语法</b></p><blockquote>

Result = <font color="#006666"><b>InitSprite</b></font>()</blockquote>

</blockquote>
<b>概要</b><br><blockquote>



Initializes the sprite environment for later use. You must put this function at 
the top of your source code if you want to use the sprite functions. 

 

</blockquote><p><b>参数</b></p><blockquote>
无.


</blockquote><p><b>返回值</b></p><blockquote>



Nonzero if the initialization of the sprite environment has successed, zero otherwise. 
You should always test this result to see if the sprite environment has been correctly 
initialized. If not you must quit the program or disable all the calls to the sprite 
related functions. 

<br>
<br>
This function tries to initialize DirectX 9, so if it fails, 
it's probably because DirectX is not found or is a previous version. 

 

</Blockquote><p><b>已支持操作系统 </b><Blockquote>所有</Blockquote></p><center>&lt;- <a href=grabsprite.html>GrabSprite()</a> - <a href=index.html>Sprite Index</a> - <a href=issprite.html>IsSprite()</a> -&gt;



</body></html>